<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_DIR ?>/admin.css" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_DIR ?>/pagerNav.css" />
<title>查看用户资料</title>
<style>
.b { text-align:center}
.c { text-align:left }
</style>
<script type="text/javascript">
function Reset_ImgSize(obj, MaxW, MaxH) {
    if (obj != null) imageObject = obj;
    var state=imageObject.readyState;
    var oldImage = new Image();
    oldImage.src = imageObject.src;
    var dW=oldImage.width; var dH=oldImage.height;
    if(dW>MaxW || dH>MaxH) {
        a=dW/MaxW; b=dH/MaxH;
        if(b>a) a=b;
        dW=dW/a; dH=dH/a;
    }
    if(dW > 0 && dH > 0)
        imageObject.width=dW;imageObject.height=dH;
    if(state!='complete' || imageObject.width>MaxW || imageObject.height>MaxH) {
        setTimeout("ResizeImage(null,"+MaxW+","+MaxH+")",40);
    }
}
</script>
</head>

<body>
<table width=98% align=center cellspacing=1 cellpadding=3 class=i_table>
<tr><td class=head>
查 看 用 户 资 料</td></tr>
<tr class=b>
<br/>
<table width="98%" align=center cellspacing=1 cellpadding=3 class=i_table>
	<tr class=b>
		<td width="10%">学号</td><td class="c" width="16%"><?php echo $num ?></td>
		<td width="10%">姓名</td><td class="c" width="20%"><?php echo $trueName ?></td>
		<td width="10%">性别</td><td class="c" width="20%"><?php echo $sex ?></td>	
		<td rowspan="5" colspan="2"><img src="<?php echo $pic ?>" onload="Reset_ImgSize(this, 100, 120);"></td>
	</tr>
	<tr class=b>
		<td>贫困生</td><td class="c"><?php echo $poor ?></td>
		<td>层次</td><td class="c"><?php echo $userType ?></td>
		<td>籍贯</td><td class="c"><?php echo $province ?></td>
	</tr>
	<tr class=b>
		<td>学院</td><td class="c"><?php echo $college ?></td>
		<td>系所</td><td class="c"><?php echo $department ?></td>
		<td>专业</td><td class="c"><?php echo $major ?></td>
	</tr>
	<tr class=b>
		<td>电子邮箱</td><td class="c"><?php echo $email ?></td>
		<td>联系方式</td><td colspan="3" class="c"><?php echo $tel ?></td>
	</tr>
	<tr class=b>
		<td>目前银行卡号</td><td class="c"><?php echo $bankCardNum ?></td>
		<td>宿舍地址</td><td colspan="3" class="c"><?php echo $room ?></td>
	</tr>
</table>
<br />
<div align="center"><input type="button" value="返 回" onclick="window.history.back()"></div>
</tr>
</table>
</body>
</html>